package com.fjw.pojo;

import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Data
public class Material {
    private Integer id;
    @NotEmpty
    private String title;//资料标题
    @NotEmpty
    private String content;//资料内容
    @NotEmpty
    private String category;//资料分类
    @NotEmpty
    private Integer author;//作者
}
